using System;
using Microsoft.AspNetCore.SignalR.Client;
using Quantum.Core;

namespace Quantum.SignalR
{
    public class Subscriber : SignalRConnection, ISubscribeBehavior
    {
        public void Subscribe(Action<string> messageHandler)
        {
            Connection.On("Publish", messageHandler);
        }
    }
}
